{% extends "base.html" %}
{% block title %}{{ tag.name }}{% endblock %}

{% block content-sidebar %}
  {% include "bookmarks/TagLandmarkList.html" with landmarktags=tag.landmarktag_set %}
{% endblock %}

{% block content %}
  <div class="tagImage">
    <img src="{{ tag.image.url }}"><br>
  </div>
  <h1>{{ tag.name }}</h1>
  <p>Tag Type: 
    {% if tag.tag_type == 'E' %}
      <em>Era</em>
    {% endif %}
    {% if tag.tag_type == 'T' %}
      <em>Tour</em>
    {% endif %}
    {% if tag.tag_type == 'O' %}
      <em>Topic</em>
    {% endif %}
    {% if tag.tag_type == 'P' %}
      <em>Person</em>
    {% endif %}
  </p>
  <h2>Description</h2>
  {{ tag.content|safe }}

  {% include "bookmarks/TagLandmarkMap.html" with landmarktags=tag.landmarktag_set %}
{% endblock %}
